class ValuePair<K, V> {
  key: K;
  value: V;

  constructor(key: K, value: V) {
    this.key = key;
    this.value = value;
  }

  toString() {
    return `[${this.key}, ${this.value}]`;
  }
}

export default ValuePair;
